package objects;

public class Person {
	
	private int pid;
	private String forname;
	private String lastname;
	private int locid;
	
	public Person() {}
	
	public Person(int pid, String first, String last, int loc) {
		setPid(pid);
		setFirstName(first);
		setLastName(last);
		setLocation(loc);
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getFirstName() {
		return forname;
	}

	public void setFirstName(String forname) {
		this.forname = forname;
	}

	public String getLastName() {
		return lastname;
	}

	public void setLastName(String lastname) {
		this.lastname = lastname;
	}

	public int getLocation() {
		return locid;
	}

	public void setLocation(int locid) {
		this.locid = locid;
	}
}
